﻿namespace IDal.Sales
{
    using Model.Sales;
    using System;
    using System.Data;

    public interface IOrders
    {
        void Add(OrdersEnt model);
        bool Check(OrdersEnt model);
        void Delete(int ID);
        void FuCheck(OrdersEnt order);
        DataTable GetList(string strWhere);
        int GetMaxId(string swhere);
        OrdersEnt GetModel(int ID);
        DataTable GetPageList(int PageSize, int PageIndex, string strWhere);
        void IsRequestReturn(OrdersEnt order);
        bool ReturnOrder(OrdersEnt order);
        DataTable ReturnTopDataTable(string swhere, int top);
        DataTable SearchData(string strWhere);
        DataTable SelectGuestDetials(string swhere);
        DataTable SelectGuestDetialsTwo(string swhere);
        DataTable SelectSendsPresent(string shwere);
        DataTable SelectSendsPresent(int PageSize, int PageIndex, string strWhere);
        void Update(OrdersEnt model);
        void UpdateCostMoneyAndSendMoney(OrdersEnt ordersEnt);
        void UpdateSaleVag(OrdersEnt order);
        bool UpdateZuoFei(OrdersEnt order);
    }
}

